export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    obMasterId: null,
    obMasterNo: null,
    workOrderNo: null,
    spuNo: null,
    spuName: null,
    lotNo: null,
    obPlanQty: null,
    obBindQty: null,
    obActualQty: null,
    obPostQty: null,
    obDetailStatus: null,
    stockNo: null,
    line: null,
    equipAccountId: null,
    subarea: null,
    stance: null,
    postStatus: null,
    createName: null,
    comments: null
  },
}

export const column = [
  { prop: "obDetailId", label: "明细ID", width: 80 },
  { prop: "obMasterNo", label: "主单编号", width: 135, showOverflow: true },
  { prop: "spuNo", label: "物料编号", width: 135, showOverflow: true },
  { prop: "spuName", label: "物料名称", width: 135, showOverflow: true },
  { prop: "lotNo", label: "批次编号", width: 135, showOverflow: true },
  { prop: "obPlanQty", label: "计划数量", width: 80, minWidth: 50 },
  { prop: "obBindQty", label: "配货数量", width: 80, minWidth: 50 },
  { prop: "obActualQty", label: "实际数量", width: 80, minWidth: 50 },
  { prop: "obPostQty", label: "过账数量", width: 80, minWidth: 50 },
  { prop: "obDetailStatus", label: "单据状态", width: 80, minWidth: 50 },
  { prop: "shortAlloc", label: "是否短配", width: 80, minWidth: 50 },
  { prop: "equipAccountId", label: "设备编码", width: 80, showOverflow: true },
  { prop: "subarea", label: "分区", width: 80, minWidth: 50 },
  { prop: "stance", label: "站位", width: 80, minWidth: 50 },
  { prop: "postStatus", label: "过账状态", width: 80, minWidth: 50 },
  { prop: "createName", label: "创建者", width: 80, minWidth: 50 },
  { prop: "createDate", label: "创建时间", width: 180, minWidth: 150 },
  { prop: "updateName", label: "更新者", width: 80, minWidth: 50 },
  { prop: "updateDate", label: "更新时间", width: 180, minWidth: 150 },
  { prop: "comments", label: "备注信息", width: 135, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]

export const formList = [
  { prop: "spuNo", label: "物料编号" },
  { prop: "lotNo", label: "批次编号" },
  { prop: "obDetailStatus", label: "单据状态", type: 'select' },
  { prop: "postStatus", label: "过账状态", type: 'select' },
  { prop: "equipAccountId", label: "设备编码" },
  { prop: "subarea", label: "分区" },
  { prop: "stance", label: "站位" },
  { prop: "comments", label: "备注信息" },
]